package com.ftg.learn.Service;


import com.ftg.learn.Mapper.DemoMapper;
import com.ftg.learn.Pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DemoService {

    @Autowired
    DemoMapper demoMapper;
    public List<Dept> showall(){

        return demoMapper.showall();


    }
}
